package cn.yuitstyle.excel.annotation;


import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.FIELD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface ExcelDigitPattern {
    /**
     * 正则校验
     *
     */
    String pattern() default "^[+]?([0-9]+(.[0-9]{1,2})?)$";

    String message() default "格式错误，请重新填写！";
}

